export const columns = [
  {
    type: 'index',
    label: '序号',
    width: 60
  },
  {
    type: 'slot',
    slotName: 'avatar',
    label: '头像'
  },
  {
    prop: 'name',
    label: '姓名'
  },
  {
    type: 'slot',
    slotName: 'studentNumber',
    label: '学号'
  },
  {
    type: 'slot',
    slotName: 'birth',
    label: '出生年月'
  },
  {
    prop: 'sex',
    label: '性别'
  },
  {
    prop: 'college',
    label: '学院'
  },
  {
    prop: 'major',
    label: '专业'
  },
  {
    type: 'slot',
    slotName: 'action',
    label: '操作',
    width: 150
  }
]

export const formItems = [
  {
    type: 'input',
    label: '姓名',
    data: 'name'
  },
  {
    type: 'input',
    label: '学号',
    data: 'studentNumber'
  }
]
